package com.hst.capacity.infra.persistence.jpa.setting.franchisee;


import com.hst.capacity.domain.model.entity.setting.franchisee.VirtualDriverEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface VirtualDriverRepository extends JpaRepository<VirtualDriverEntity, String> {

    List<VirtualDriverEntity> findByIdFranchisee(String idFranchisee);

    VirtualDriverEntity findByIdVirtualDriver(String id);

}